import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: jingziyou
 * Date: 2023-03-11
 * Time: 12:23
 */

public class Test {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int time = yzc(k, 0.0, 0);
        System.out.println(time);
    }

    public static int yzc(int k, double z, int s) {
        if (k == 100)
            return 1;
        if (s == 0) {
            s++;
            return 1 + yzc(k, z, s);
        }
        if (z / s < k * 1.0 / (100 - k)) {
            z++;
            return 1 + yzc(k, z, s);
        } else if (z / s > k * 1.0 / (100 - k)) {
            s++;
            return 1 + yzc(k, z, s);
        } else
            return 0;
    }
}
